package cn.mes.module.mes.controller.admin.baseworkshop.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 车间信息新增/修改 Request VO")
@Data
public class BaseWorkShopSaveReqVO {

    @Schema(description = "车间ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7202")
    private String id;

    @Schema(description = "车间编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "车间编码不能为空")
    private String workShopCode;

    @Schema(description = "车间名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "车间名称不能为空")
    private String workShopName;

    @Schema(description = "车间用途")
    private String workShopUse;

    @Schema(description = "备注信息")
    private String note;

    @Schema(description = "显示顺序")
    private Integer orderNo;

    @Schema(description = "车间状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "车间状态不能为空")
    private Boolean status;
    @Schema(description = "PLC编号")
    private String plcId;

}